Execution context and scope are not the same thing. Scope determines where variables are accessible, while execution context manages the environment in which code runs and memory is allocated.
The scope is function-based. Scope belongs to the variable access of a function. There are only two scopes in JavaScript — global and function scope.
Execution context is object-based. Execution context is an abstract concept that holds information about the environment where the current code is being executed. A context of a function is the value of the this keyword for that function